<template>
  <div id="app">
    <router-view />
  </div>
</template>
<script>
export default {
  name: 'App',
  watch: {
    $route(to, from) {
      if (to.path != '/login' && to.path != '/') {
        let tab = {
          name: to.name,
          title: to.meta.title,
        }
        this.$store.commit('SET_EDITABLETABS', tab)
      }
    },
  },
}
</script>
<style>
html,
body,
#app {
  height: 100%;
}
</style>
